<%- model_class = Sptitle -%>
<div class="page-header">
  <h1><%=t '.title', :default => model_class.model_name.human.titleize %></h1>
</div>

<dl class="dl-horizontal">
  <dt><strong><%= model_class.human_attribute_name(:name) %>:</strong></dt>
  <dd><%= @sptitle.name %></dd>
  <dt><strong><%= model_class.human_attribute_name(:over) %>:</strong></dt>
  <dd><%= @sptitle.over %></dd>
  <dt><strong><%= model_class.human_attribute_name(:orders) %>:</strong></dt>
  <dd><%= @sptitle.orders %></dd>
  <dt><strong><%= model_class.human_attribute_name(:file_id) %>:</strong></dt>
  <dd><%= @sptitle.file_id %></dd>
</dl>

<%= link_to t('.back', :default => t("helpers.links.back")),
              sptitles_path, :class => 'btn btn-default'  %>
<%= link_to t('.edit', :default => t("helpers.links.edit")),
              edit_sptitle_path(@sptitle), :class => 'btn btn-default' %>
<%= link_to t('.destroy', :default => t("helpers.links.destroy")),
              sptitle_path(@sptitle),
              :method => 'delete',
              :data => { :confirm => t('.confirm', :default => t("helpers.links.confirm", :default => 'Are you sure?')) },
              :class => 'btn btn-danger' %>
